<!--
 * @Author: your name
 * @Date: 2020-12-25 10:42:51
 * @LastEditTime: 2020-12-25 11:23:56
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \basiccss\textcontrol\zitiset.html
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>字体设置</title>
    <style>
        /* body{
            font-family: 'Courier New', Courier, monospace;
        } */

        /*
        自定义字体
        .otf opentype
        .woff woff
        .ttf truetype
        .eot Embedded-opentype
        不建议使用中文字体，因为文件太大而且大部分是商业字体
        */
        @font-face {
            font-family: "houdunren";
            src: url("SourceHanSansSC-Light.otf") format("opentype")
        }

        span{
            font-family: 'houdunren';
        }

        
    </style>
</head>
<body>
    <span>我在进行字体设置</span>
        
</body>
</html>